Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

fix: [botframework-streaming] Some named pipe tests are not passing after fixing their inconclusiveness#4494

Closed
erquirogasw wants to merge 3 commits into
mainfrom
southworks/fix/named-pipe-tests-are-not-passing
Closed

fix: [botframework-streaming] Some named pipe tests are not passing after fixing their inconclusiveness#4494
erquirogasw wants to merge 3 commits into
mainfrom
southworks/fix/named-pipe-tests-are-not-passing

Conversation

@erquirogasw
Copy link
Copy Markdown
Contributor

Fixes #4462

Description

This PR fixes the NamedPipe unit tests that weren't passing.
It adds code to the receive method of the NamedPipeTransport class to handle null and destroyed sockets.
Additionally, it updates the transport unit test to be compatible with the new changes and the client-server tests to make the connection correctly.

Specific Changes

  • New condition in the receive method of the NamedPipeTransport class to handle null and destroyed sockets.
  • Updated 'throws then reading from a dead socket' unit test to be compatible with the changes of the receive method.
  • Updated client and server 'sends without throwing' unit tests to make the connection correctly.

Testing

image

updated NamedPipeTransport class to handle null and destroyed sockets

updated NamedPipe tests
@erquirogasw erquirogasw requested a review from a team as a code owner June 21, 2023 13:50
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 21, 2023

Pull Request Test Coverage Report for Build 5334935081

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 84.484%

Files with Coverage Reduction New Missed Lines %
libraries/botframework-streaming/src/namedPipe/namedPipeTransport.ts 1 96.36%
Totals Coverage Status
Change from base Build 5222839148: -0.02%
Covered Lines: 20037
Relevant Lines: 22480

💛 - Coveralls

@tracyboehrer
Copy link
Copy Markdown
Member

These tests are failing due to missing Azure resources. Solution pending.

@tracyboehrer tracyboehrer deleted the southworks/fix/named-pipe-tests-are-not-passing branch December 23, 2025 20:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[botframework-streaming] Some named pipe tests are not passing after fixing their inconclusiveness

3 participants